package com.android.infantschool.bean;

import java.util.List;

/**
 * @author Administrator
 * @particulars
 * @time 2019\7\4 0004 17:01
 * @class describe
 */
public class DynamicBean extends BaseBean {

    /**
     * code : 0
     * msg : SUCCESS
     * count : 1
     * data : [{"id":49,"content":"测试上传视频","teacherName":"李南","createTime":"2019-08-08 14:01:33","urlArray":[{"type":1,"path":"http://pvqwzoyfw.bkt.clouddn.com/315652440738321","thumbnail":null},{"type":2,"path":"http://pvqwzoyfw.bkt.clouddn.com/315652440754821","thumbnail":"http://pvqwzoyfw.bkt.clouddn.com/1564086689195"}],"likeNum":0,"teacherImg":"http://pvqwzoyfw.bkt.clouddn.com/849597E4FC719C3B48967DFB58559F2E.jpg"}]
     */

    private int code;
    private String msg;
    private int count;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 49
         * content : 测试上传视频
         * teacherName : 李南
         * createTime : 2019-08-08 14:01:33
         * urlArray : [{"type":1,"path":"http://pvqwzoyfw.bkt.clouddn.com/315652440738321","thumbnail":null},{"type":2,"path":"http://pvqwzoyfw.bkt.clouddn.com/315652440754821","thumbnail":"http://pvqwzoyfw.bkt.clouddn.com/1564086689195"}]
         * likeNum : 0
         * teacherImg : http://pvqwzoyfw.bkt.clouddn.com/849597E4FC719C3B48967DFB58559F2E.jpg
         */

        private int id;
        private String content;
        private String teacherName;
        private String createTime;
        private int likeNum;
        private String teacherImg;
        private List<UrlArrayBean> urlArray;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTeacherName() {
            return teacherName;
        }

        public void setTeacherName(String teacherName) {
            this.teacherName = teacherName;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getLikeNum() {
            return likeNum;
        }

        public void setLikeNum(int likeNum) {
            this.likeNum = likeNum;
        }

        public String getTeacherImg() {
            return teacherImg;
        }

        public void setTeacherImg(String teacherImg) {
            this.teacherImg = teacherImg;
        }

        public List<UrlArrayBean> getUrlArray() {
            return urlArray;
        }

        public void setUrlArray(List<UrlArrayBean> urlArray) {
            this.urlArray = urlArray;
        }

        public static class UrlArrayBean {
            /**
             * type : 1
             * path : http://pvqwzoyfw.bkt.clouddn.com/315652440738321
             * thumbnail : null
             */

            private int type;
            private String path;
            private Object thumbnail;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public Object getThumbnail() {
                return thumbnail;
            }

            public void setThumbnail(Object thumbnail) {
                this.thumbnail = thumbnail;
            }
        }
    }
}
